package com.ruoyi.system.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

/**
 * 用户Excel导入实体类
 * 专门用于导入模板，只包含模板中存在的列
 *
 * @author share
 */
public class SysUserImport {

    /** 用户ID */
    @ExcelProperty(value = "用户序号", index = 0)
    @ColumnWidth(10)
    private Long userId;

    /** 部门ID */
    @ExcelProperty(value = "部门编号", index = 1)
    @ColumnWidth(10)
    private Long deptId;

    /** 用户账号 */
    @ExcelProperty(value = "登录名称", index = 2)
    @ColumnWidth(15)
    private String userName;

    /** 用户昵称 */
    @ExcelProperty(value = "用户名称", index = 3)
    @ColumnWidth(15)
    private String nickName;

    /** 用户邮箱 */
    @ExcelProperty(value = "用户邮箱", index = 4)
    @ColumnWidth(25)
    private String email;

    /** 手机号码 */
    @ExcelProperty(value = "手机号码", index = 5)
    @ColumnWidth(15)
    private String phonenumber;

    /** 用户性别 */
    @ExcelProperty(value = "用户性别", index = 6)
    @ColumnWidth(10)
    private String sex;

    /** 帐号状态 */
    @ExcelProperty(value = "帐号状态", index = 7)
    @ColumnWidth(10)
    private String status;

    // getter and setter methods
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}